//
//  ParentViewController.h
//  Scanner
//
//  Created by 米明 on 15/5/14.
//  Copyright (c) 2015年 米明. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "GameEngine.h"
#import "MyCATransition.h"

#define ScreenSize [UIScreen mainScreen].bounds.size

#define Nav_Bar_Height 64

@interface ParentViewController : UIViewController
{
    UIAlertView * _alertView;
    
    UILabel * _label;
    
}

@property(nonatomic,copy)NSString * keyword;

//通用警告框
-(void)showAlertViewTitle:(NSString *)title message:(NSString *)message cancelButton:(NSString *)cancleTitle otherButtonTitle:(NSString *)otherTitle;
//数据
-(void)initData;
//UI
-(void)showUI;

//显示信息
-(void)showInfo:(NSString * )info;

//添加导航栏左右按钮
-(void)creatLeftBtnItemWithTitle:(NSString *)title;
-(void)leftBarBtnItem;
-(void)creatRightBtnItemWithTitle:(NSString *)title;
-(void)rightBarBtnItem;
-(void)creatLeftBtnItemWithImageName:(NSString *)imageName;
-(void)creatRightBtnItemWithImageName:(NSString *)imageName;
@end
